home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / LANG / C / LIB / DESK / CORE / Desk / h_doc / DragASpr < prev    next >
Text File  |  1996-05-21  |  1KB  |  51 lines

  1. /*
  2.     ####             #    #     # #
  3.     #   #            #    #       #          The FreeWare C library for 
  4.     #   #  ##   ###  #  # #     # ###             RISC OS machines
  5.     #   # #  # #     # #  #     # #  #   ___________________________________
  6.     #   # ####  ###  ##   #     # #  #                                      
  7.     #   # #        # # #  #     # #  #    Please refer to the accompanying
  8.     ####   ### ####  #  # ##### # ###    documentation for conditions of use
  9.     ________________________________________________________________________
  10.  
  11.     File:    DragASpr.h
  12.     Author:  Copyright © 1992 Shaun Blackmore and Jason Williams
  13.     Version: 1.01 (30 Apr 1992)
  14.     Purpose: Function veneers for DragASpr SWIs
  15. */
  16.  
  17. #ifndef __Desk_DragASpr_h
  18. #define __Desk_DragASpr_h
  19.  
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23.  
  24.  
  25. #ifndef __Desk_Wimp_h
  26. #include "Desk.Wimp.h"
  27. #endif
  28.  
  29.  
  30. extern void    Desk_DragASprite_Start(int flags, void *spritearea, char *name,
  31.                                    Desk_wimp_rect *bound, Desk_wimp_rect *parent);
  32.  
  33.  
  34. extern void    Desk_DragASprite_Stop(void);
  35.  
  36.  
  37. extern void    Desk_DragASprite_DragIcon(Desk_window_handle window, Desk_icon_handle icon);
  38. /*
  39. This is a simple interface for DragASpr. Simply call it when you want to
  40. start a drag operation of a sprite icon, and it starts a dragasprite
  41. drag IF POSSIBLE, or a normal Desk_Wimp_DragBox if not (i.e. this is a RISC
  42. OS 2 compatible call)
  43. */
  44.  
  45. #ifdef __cplusplus
  46. }
  47. #endif
  48.  
  49.  
  50. #endif
  51.